home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
util
/
libs
/
halt.readme
< prev
next >
Wrap
Text File
|
1995-11-09
|
3KB
|
61 lines
Short: Shutdown command & library for AmigaDOS
Author: fasten@shw.com (Bernhard Fastenrath)
Uploader: fasten@shw.com (Bernhard Fastenrath)
Version: 2.0
Type: util/libs
Replaces: util/libs/shutdown.lzh
This library was originally released as shutdown.library. It has been
renamed to halt.library because Olaf Barthel (olsen@sourcery.han.de)
wrote a shutdown.library several years ago (util/boot/Shutdown2_0.lha).
Olaf offered me to continue his shutdown.library but I haven't yet
decided how to combine the libraries. They both use different approaches
and have different interfaces to do roughly the same. If one of them
becomes obsolete in future the other one will remain available as a
compatibility interface.
halt.library broadcasts shutdown messages to applications which use it.
Source and binaries for SAS/C and GCC. Recompilation with GCC requires a
patch to libnix (libinit.o) which will be included with libnix 1.1. It may
be distributed under the terms of the GNU Library General Public License.
Included with the library are the shutdown and sdwarn utilities.
Shutdown is a program like the UNIX shutdown command which sends regular
shutdown messages through the halt.library and shuts down the machine after
the given period. A running shutdown can be cancelled with the "-c" option
or by sending a CTRL-C to the running shutdown. The sdwarn program is an
example client for the halt.library which can be used to broadcast messages
to other CLIs. One possible application is to "run sdwarn -c $process" from
the remote-login script of the AmiTCP telnet demon. When started with the
"-c" option sdwarn monitors the CLI specified by the "-c" option and exits
when the CLI has disappeared. This does not work when telnetd is exited
with "q" from the "telnet> " prompt!
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
0 0 0.0% 06-Oct-95 21:35:24 +
1795 906 49.5% 06-Oct-95 21:34:50 +README
1069 330 69.1% 06-Oct-95 21:11:56 +REGISTRATION
373 250 32.9% 06-Oct-95 21:11:54 +halt.fd
55346 19545 64.6% 06-Oct-95 21:21:00 +halt.guide
2044 850 58.4% 06-Oct-95 21:34:38 +halt.h
3500 2040 41.7% 06-Oct-95 21:47:46 +halt.library
2268 501 77.9% 06-Oct-95 21:11:56 +halt_inline.h
4846 1676 65.4% 06-Oct-95 21:11:54 +halt_library.c
1040 452 56.5% 06-Oct-95 21:11:54 +halt_library.h
637 321 49.6% 06-Oct-95 21:11:56 +halt_pragmas.h
507 259 48.9% 06-Oct-95 21:11:56 +makefile
16476 8501 48.4% 06-Oct-95 21:11:58 +sdwarn
6698 2251 66.3% 06-Oct-95 21:43:50 +sdwarn.c
19300 9842 49.0% 06-Oct-95 21:11:54 +shutdown
10844 3396 68.6% 06-Oct-95 21:11:56 +shutdown.c
493 255 48.2% 06-Oct-95 21:23:06 +smakefile
2935 1218 58.5% 06-Oct-95 21:11:54 +unmount.c
1348 636 52.8% 06-Oct-95 21:11:54 +ups.h
-------- ------- ----- --------- --------
131519 53229 59.5% 18-Oct-95 00:41:16 19 files